home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!emoz
- From: emoz@netcom.com (Evin Moseman)
- Subject: Files in C++, format
- Message-ID: <emozDMrCCK.CtE@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- X-Newsreader: TIN [version 1.2 PL1]
- Date: Wed, 14 Feb 1996 08:45:55 GMT
- Sender: emoz@netcom16.netcom.com
-
- I am writing a program to solve equations, and I need a method to store
- the equation data to a file. I don't know much about binary files, but
- my problem is that I can't read at a certain location and always expect
- to get the right number or character. Also when I write a variable which
- is char varname[40], to this file and when entering the characters to the
- variable interactivley and have to use the backspace key, it saves all of
- those characters to the variable varname. It has even saved more than 40
- characters in varname, and I also am using the getche() function to get
- the keyboard input. So if you have any information on any of that, and
- also how to read and write characters and integers to files, and always
- get the same result please e-mail me (emoz@netcom.com), I would
- appreciate it a lot.
- Thank you...
- (E)
-
-